class UserSetting < ActiveRecord::Base
 belongs_to :algorithm
 belongs_to :user
 belongs_to :loadbox
 
 validates :boxmanager_id, :loadbox_id, :algorithm_id, :utility_control_lvl, :presence => true
 
  def self.get_user_settings
     UserSetting.last
  end
end
